package com.tea.tl.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @program: Tea_UserServer
 * @description: 实体层 和数据库的表一一对应
 * @author: 是天天吖
 * @create: 2023-01-16 15:24:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_discount_coupon")
public class DiscountCoupon {
    /**
    *序号,主键 */
     @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    *支付金额 */
    private String paymoney;
    /**
    *实际金额 */
    private String money;
    /**
    *库存 */
    private Integer count;
    /**
     * 1.满20减10 2.50-20 3.100-30 4.200-50 5.300-100*/
    private Integer type;
    /**
    *创建时间 */
    private Date ctime;
}